package com.leadership.api.dao;

import java.util.List;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.leadership.entity.idm.IdmOrg;

/**
 * 
 * @author dan
 *
 */
@Dao("hibernate")
public interface IdmDao {
    
    /**
     * 
     * @param orgnofullpath
     * @return
     */
    @Query("FROM IdmOrg WHERE orgnofullpath LIKE :orgnofullpath")
    public List<IdmOrg> listIdmOrg(@Variable("orgnofullpath") String orgnofullpath);

}
